package cn.shyouchi.wuguanjia.android.ui.meetting.feedback;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Eenie on 2017/2/15 at 9:41
 * Email: 472279981@qq.com
 * Des:
 */

public class FeedbackDetailEntity implements Parcelable {


    /**
     * id : 1
     * username : 唐海斌
     * id_card_head_image : /images/user/20161104/20161104014632YC954564236.jpg
     * created_at : 2017-02-14 16:41:43
     * name : 月度例会
     * start : 2017-02-14 16:41:00
     * end : 2017-02-14 16:41:00
     * room_name : B203
     * detail : 会议目的
     * checkid : 1
     * check_feedback : 测试用的
     * checkstatus : 1
     * checkusername : 唐海斌
     * check_image : /images/user/20161104/20161104014632YC954564236.jpg
     * checkname : 审核通过
     */

    private int id;
    private String username;
    private String id_card_head_image;
    private String created_at;
    private String name;
    private String start;
    private String end;
    private String room_name;
    private String detail;
    private String checkid;
    private String check_feedback;
    private int checkstatus;
    private String checkusername;
    private String check_image;
    private String checkname;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getId_card_head_image() {
        return id_card_head_image;
    }

    public void setId_card_head_image(String id_card_head_image) {
        this.id_card_head_image = id_card_head_image;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getRoom_name() {
        return room_name;
    }

    public void setRoom_name(String room_name) {
        this.room_name = room_name;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getCheckid() {
        return checkid;
    }

    public void setCheckid(String checkid) {
        this.checkid = checkid;
    }

    public String getCheck_feedback() {
        return check_feedback;
    }

    public void setCheck_feedback(String check_feedback) {
        this.check_feedback = check_feedback;
    }

    public int getCheckstatus() {
        return checkstatus;
    }

    public void setCheckstatus(int checkstatus) {
        this.checkstatus = checkstatus;
    }

    public String getCheckusername() {
        return checkusername;
    }

    public void setCheckusername(String checkusername) {
        this.checkusername = checkusername;
    }

    public String getCheck_image() {
        return check_image;
    }

    public void setCheck_image(String check_image) {
        this.check_image = check_image;
    }

    public String getCheckname() {
        return checkname;
    }

    public void setCheckname(String checkname) {
        this.checkname = checkname;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.username);
        dest.writeString(this.id_card_head_image);
        dest.writeString(this.created_at);
        dest.writeString(this.name);
        dest.writeString(this.start);
        dest.writeString(this.end);
        dest.writeString(this.room_name);
        dest.writeString(this.detail);
        dest.writeString(this.checkid);
        dest.writeString(this.check_feedback);
        dest.writeInt(this.checkstatus);
        dest.writeString(this.checkusername);
        dest.writeString(this.check_image);
        dest.writeString(this.checkname);
    }

    public FeedbackDetailEntity() {
    }

    protected FeedbackDetailEntity(Parcel in) {
        this.id = in.readInt();
        this.username = in.readString();
        this.id_card_head_image = in.readString();
        this.created_at = in.readString();
        this.name = in.readString();
        this.start = in.readString();
        this.end = in.readString();
        this.room_name = in.readString();
        this.detail = in.readString();
        this.checkid = in.readString();
        this.check_feedback = in.readString();
        this.checkstatus = in.readInt();
        this.checkusername = in.readString();
        this.check_image = in.readString();
        this.checkname = in.readString();
    }

    public static final Parcelable.Creator<FeedbackDetailEntity> CREATOR = new Parcelable.Creator<FeedbackDetailEntity>() {
        @Override
        public FeedbackDetailEntity createFromParcel(Parcel source) {
            return new FeedbackDetailEntity(source);
        }

        @Override
        public FeedbackDetailEntity[] newArray(int size) {
            return new FeedbackDetailEntity[size];
        }
    };
}
